Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed search on a shard tries a local replica on a network thread #4526

Closed
kimchy opened this issue Dec 19, 2013 · 0 comments
Closed

Failed search on a shard tries a local replica on a network thread #4526

kimchy opened this issue Dec 19, 2013 · 0 comments

Comments

@kimchy
Copy link
Member

kimchy commented Dec 19, 2013

When a search on a shard to a remove node fails, and then replica exists on the local node, then the execution of the search is done on the network thread. This is problematic since we need to execute it on the actual search thread pool, but can also explain #4519, where the get happens on the network thread and it waits to send the get request till the network thread we use is freed (deadlock...)

@kimchy kimchy closed this as completed in 5bf4e74 Dec 19, 2013
kimchy added a commit that referenced this issue Dec 19, 2013
When a search on a shard to a remove node fails, and then replica exists on the local node, then the execution of the search is done on the network thread. This is problematic since we need to execute it on the actual search thread pool, but can also explain #4519, where the get happens on the network thread and it waits to send the get request till the network thread we use is freed (deadlock...)
fixes #4526

note, re-enable the geo shape fetch test, this fix should solve it as well
kimchy added a commit that referenced this issue Dec 19, 2013
When a search on a shard to a remove node fails, and then replica exists on the local node, then the execution of the search is done on the network thread. This is problematic since we need to execute it on the actual search thread pool, but can also explain #4519, where the get happens on the network thread and it waits to send the get request till the network thread we use is freed (deadlock...)
fixes #4526

note, re-enable the geo shape fetch test, this fix should solve it as well
brusic pushed a commit to brusic/elasticsearch that referenced this issue Jan 19, 2014
When a search on a shard to a remove node fails, and then replica exists on the local node, then the execution of the search is done on the network thread. This is problematic since we need to execute it on the actual search thread pool, but can also explain elastic#4519, where the get happens on the network thread and it waits to send the get request till the network thread we use is freed (deadlock...)
fixes elastic#4526

note, re-enable the geo shape fetch test, this fix should solve it as well
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
When a search on a shard to a remove node fails, and then replica exists on the local node, then the execution of the search is done on the network thread. This is problematic since we need to execute it on the actual search thread pool, but can also explain elastic#4519, where the get happens on the network thread and it waits to send the get request till the network thread we use is freed (deadlock...)
fixes elastic#4526

note, re-enable the geo shape fetch test, this fix should solve it as well
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
When a search on a shard to a remove node fails, and then replica exists on the local node, then the execution of the search is done on the network thread. This is problematic since we need to execute it on the actual search thread pool, but can also explain elastic#4519, where the get happens on the network thread and it waits to send the get request till the network thread we use is freed (deadlock...)
fixes elastic#4526

note, re-enable the geo shape fetch test, this fix should solve it as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant